package com.shycloud.mido.member.service;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shycloud.mido.member.api.entity.SmCourseware;
import com.shycloud.mido.member.api.entity.SmCoursewareFolder;
import com.shycloud.mido.member.api.vo.SmCoursewareVO;

public interface SmCoursewareService extends IService<SmCourseware> {


	SmCourseware addCourseware(MultipartFile file, String type, Integer folderId, Integer musicId);

	IPage<SmCoursewareVO> getCoursewareList(Page objectPage, Integer folderId);

	Boolean delCourseware(Integer folderId, List<Integer> id);

    IPage<SmCoursewareFolder> getFolderList(Page<Object> page, Integer groupId);

    String uploadFile(MultipartFile file);
}

